package com.glowdayz.model;

import java.util.ArrayList;

import com.glowdayz.common.HttpHandler.FileInfo;

/** 관리자 테이블 정보를 표현하는 Model 클래스 */
public class AdminTableCMD {
	
	private int idAdminBoard;
	private String boardType;
	private int eventLinkType;
	private String eventLinkTypeValue;
	private String eventLinkCode;
	private String boardTitle;
	private String boardText;
	private int idBrand;
	private String idBrandValue;
	private String start_date;
	private String end_date;
	private int adminTableImg;
	private FileInfo image;
	private ArrayList<FileInfo> imageList;
	private int isDisplay;
	private int readCount;
	private int comment_count;
	private String create_date;
	private String modified_date;
	
	public AdminTableCMD() {
	}
	
	/** 공지사항 xml */
	public AdminTableCMD(int idAdminBoard, String boardTitle,
			String boardText, String modified_date, String create_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.modified_date = modified_date;
		this.create_date = create_date;
	}
	
	/** 이벤트 조회용 xml */
	public AdminTableCMD(int idAdminBoard, int eventLinkType,
			String eventLinkCode, String boardTitle,
			String boardText, int idBrand, String idBrandValue,
			String start_date, String end_date,
			FileInfo image, int isDisplay, int comment_count) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.eventLinkType = eventLinkType;
		this.eventLinkCode = eventLinkCode;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.start_date = start_date;
		this.end_date = end_date;
		this.image = image;
		this.isDisplay = isDisplay;
		this.comment_count = comment_count;
	}
	
	/** 이벤트 조회용 앱xml */
	public AdminTableCMD(int eventLinkType,
			String eventLinkCode, String boardTitle,
			String boardText, String start_date, String end_date,
			int comment_count, String create_date) {
		super();
		this.eventLinkType = eventLinkType;
		this.eventLinkCode = eventLinkCode;
		this.boardTitle = boardTitle;
		this.boardText = boardText;
		this.start_date = start_date;
		this.end_date = end_date;
		this.comment_count = comment_count;
		this.create_date = create_date;
	}
	
	/** 이벤트 리스트 xml */
	public AdminTableCMD(int idAdminBoard, String boardTitle,
			int idBrand, String idBrandValue,
			String start_date, String end_date, String create_date) {
		super();
		this.idAdminBoard = idAdminBoard;
		this.boardTitle = boardTitle;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.start_date = start_date;
		this.end_date = end_date;
		this.create_date = create_date;
	}

	public int getIdAdminBoard() {
		return idAdminBoard;
	}

	public void setIdAdminBoard(int idAdminBoard) {
		this.idAdminBoard = idAdminBoard;
	}

	public String getBoardType() {
		return boardType;
	}

	public void setBoardType(String boardType) {
		this.boardType = boardType;
	}

	public int getEventLinkType() {
		return eventLinkType;
	}

	public void setEventLinkType(int eventLinkType) {
		this.eventLinkType = eventLinkType;
	}

	public String getEventLinkTypeValue() {
		return eventLinkTypeValue;
	}

	public void setEventLinkTypeValue(String eventLinkTypeValue) {
		this.eventLinkTypeValue = eventLinkTypeValue;
	}

	public String getEventLinkCode() {
		return eventLinkCode;
	}

	public void setEventLinkCode(String eventLinkCode) {
		this.eventLinkCode = eventLinkCode;
	}

	public String getBoardTitle() {
		return boardTitle;
	}

	public void setBoardTitle(String boardTitle) {
		this.boardTitle = boardTitle;
	}

	public String getBoardText() {
		return boardText;
	}

	public void setBoardText(String boardText) {
		this.boardText = boardText;
	}

	public int getIdBrand() {
		return idBrand;
	}

	public void setIdBrand(int idBrand) {
		this.idBrand = idBrand;
	}

	public String getIdBrandValue() {
		return idBrandValue;
	}

	public void setIdBrandValue(String idBrandValue) {
		this.idBrandValue = idBrandValue;
	}

	public String getStart_date() {
		return start_date;
	}

	public void setStart_date(String start_date) {
		this.start_date = start_date;
	}

	public String getEnd_date() {
		return end_date;
	}

	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	public int getAdminTableImg() {
		return adminTableImg;
	}

	public void setAdminTableImg(int adminTableImg) {
		this.adminTableImg = adminTableImg;
	}

	public FileInfo getImage() {
		return image;
	}

	public void setImage(FileInfo image) {
		this.image = image;
	}

	public ArrayList<FileInfo> getImageList() {
		return imageList;
	}

	public void setImageList(ArrayList<FileInfo> imageList) {
		this.imageList = imageList;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public int getReadCount() {
		return readCount;
	}

	public void setReadCount(int readCount) {
		this.readCount = readCount;
	}

	public int getComment_count() {
		return comment_count;
	}

	public void setComment_count(int comment_count) {
		this.comment_count = comment_count;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	@Override
	public String toString() {
		return "AdminTableCMD [idAdminBoard=" + idAdminBoard + ", boardType="
				+ boardType + ", eventLinkType=" + eventLinkType
				+ ", eventLinkTypeValue=" + eventLinkTypeValue
				+ ", eventLinkCode=" + eventLinkCode + ", boardTitle="
				+ boardTitle + ", boardText=" + boardText + ", idBrand="
				+ idBrand + ", idBrandValue=" + idBrandValue + ", start_date="
				+ start_date + ", end_date=" + end_date + ", adminTableImg="
				+ adminTableImg + ", image=" + image + ", imageList="
				+ imageList + ", isDisplay=" + isDisplay + ", readCount="
				+ readCount + ", comment_count=" + comment_count
				+ ", create_date=" + create_date + ", modified_date="
				+ modified_date + "]";
	}
}
